﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GNF.Geo;
using GNF.GNFService.GNFServer;

namespace GNF.GNFService.TestHost
{
    class Program
    {
        static void Main(string[] args)
        {
            //GNFServiceServer server = new GNFServiceServer();
            //server.Connect();
            //Console.WriteLine("Insert Key To start");
            //Console.ReadKey();
            //if (server.HasSubscribers)
            //{
            //    for (int i = 0; i < 10; i++)
            //    {
            //        System.Threading.Thread.Sleep(1000);
            //        server.PublishGPSData(new GPSData(i, i, i, i));
            //    }
            //}
            //else
            //{
            //    Console.WriteLine("No Subscribers");
            //}
            //Console.ReadKey();
            //server.CloseConnection();
            RandomDataGNFServer r = new RandomDataGNFServer();
            r.Start();
        }
        
    }
}
